/*
* @Date: 2021/1/23
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/

export default {
  display: 'inline-block',
  props: [{
    key: 'allowClear',
    type: 'boolean',
    label: '清除',
  }, {
    key: 'autoClearSearchValue',
    type: 'boolean',
    label: '选中清空',
  }, {
    key: 'autoFocus',
    type: 'boolean',
    label: '自动焦点',
  }, {
    key: 'bordered',
    type: 'boolean',
    label: '边框',
  }, {
    key: 'clearIcon',
    type: 'icon',
    label: '清空图标',
  }, {
    key: 'defaultActiveFirstOption',
    type: 'boolean',
    label: '高亮首项',
  }, {
    key: 'defaultOpen',
    type: 'boolean',
    label: '默认展开',
  }, {
    key: 'defaultValue',
    type: 'array',
    label: '默认值',
  }, {
    key: 'disabled',
    type: 'boolean',
    label: '禁用',
  }, {
    key: 'filterOption',
    type: 'boolean',
    label: '筛选',
  }, {
    key: 'listHeight',
    type: 'number',
    label: '下拉高度',
  }, {
    key: 'loading',
    type: 'boolean',
    label: '加载状态',
  }, {
    key: 'mode',
    type: 'select',
    options: ['multiple', 'tags'],
    label: '模式',
  }, {
    key: 'open',
    type: 'boolean',
    label: '展开',
  }, {
    key: 'options',
    type: 'array',
    arrayType: 'label:文本,value:键值',
    label: '数据源',
  }, {
    key: 'placeholder',
    type: 'string',
    label: '文本',
  }, {
    key: 'searchValue',
    type: 'string',
    label: '搜索文本',
  }, {
    key: 'showArrow',
    type: 'boolean',
    label: '下拉箭头',
  }, {
    key: 'showSearch',
    type: 'boolean',
    label: '是否搜索',
  }, {
    key: 'size',
    type: 'select',
    options: ['large', 'middle', 'small'],
    label: '大小',
  }, {
    key: 'value',
    type: 'array',
    label: '取值',
  }, {
    key: 'virtual',
    type: 'boolean',
    label: '虚拟滚动',
  }, {
    key: 'onBlur',
    type: 'function',
    function: '()',
    label: '失焦回调',
  }, {
    key: 'onChange',
    type: 'function',
    function: '(value,option)',
    label: '变化回调',
  }, {
    key: 'onClear',
    type: 'function',
    function: '()',
    label: '清除回调',
  }, {
    key: 'onDeselect',
    type: 'function',
    function: '(value)',
    label: '取消回调',
  }, {
    key: 'onDropdownVisibleChange',
    type: 'function',
    function: '(open)',
    label: '下拉回调',
  }, {
    key: 'onFocus',
    type: 'function',
    function: '()',
    label: '焦点回调',
  }, {
    key: 'onInputKeyDown',
    type: 'function',
    function: '(e)',
    label: '按键回调',
  }, {
    key: 'onMouseEnter',
    type: 'function',
    function: '(e)',
    label: '鼠标移入',
  }, {
    key: 'onMouseLeave',
    type: 'function',
    function: '(e)',
    label: '鼠标移出',
  }, {
    key: 'onPopupScroll',
    type: 'function',
    function: '(e)',
    label: '滚动回调',
  }, {
    key: 'onSearch',
    type: 'function',
    function: '(value)',
    label: '搜索回调',
  }, {
    key: 'onSelect',
    type: 'function',
    function: '(value)',
    label: '选中回调',
  }]
}
